package com.devunion.bogdan.model.event;

import com.devunion.bogdan.model.project.OntologyProperty;

/**
 * @author Viktar Liaskovich
 */
public class PropertyValueEvent extends BaseEvent<OntologyProperty> {
    private String value;

    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public PropertyValueEvent(OntologyProperty source, String value) {
        super(source);

        this.value = value;
    }

    public String getValue() {
        return value;
    }
}